use crate::draw::Draw;

/// 基础按钮组件，包含尺寸与标签。
pub struct Button {
    pub width: u32,
    pub height: u32,
    pub label: String,
}

impl Draw for Button {
    fn draw(&self) {
        println!(
            "draw Button: {} ({}×{})",
            self.label, self.width, self.height
        );
    }
}